<include file="../Public/inleft" />
<div id="main"> <include file="../Public/main_nav" />
    <div id="main_content">
        <div id="banner"><img src="../Public/Psd/banner1.jpg" border="0" /></div>
        <div id="_title" style="float:left; text-align:center; border-bottom:#666 solid 1px; padding:20px 0; margin:0 50px 20px 50px; display:inline; width:625px; font-size:14px; font-weight:bold;">{$vo.title|cut=60}</div>
        <div id="_content" style="float:left; text-align:left; width:625px; margin:0 50px; display:inline; line-height:20px;">
            <form id="form1" name="form1" enctype="multipart/form-data" method="post" action="__URL__/uploading">
                <volist name="piclist" id="pic"> {$pic.picName} <br />
                    <img src="__ROOT__/{$pic.picUrl}" border="0" /><br />
                    <a href="__URL__/delpic/id/{$pic.id}">删除</a>

                    <if condition="$pic.isMain eq 1" >
                        <span class="red" style="font-weight:bold;">这张是主照片</span>  <a href="__APP__/index/unsetMain/pid/{$pic.id}">取消主照片</a>
                    <else />
                        <a href="__APP__/index/setMain/pid/{$pic.id}">设置为主照片</a>
                    </if>
                    
                    

                    <hr />
                </volist>
                <br />
                照片上传<br />
                <table width="90%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>照片名称：</td>
                        <td><label for="textfield"></label>
                        <input name="picName" type="text" id="picName" size="20" /></td>
                    </tr>
                    <tr>
                        <td>照片备注</td>
                        <td><textarea name="picNote" cols="40" rows="3" id="picNote"></textarea></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td><input type="file" name="file1" id="file1" /></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td><input type="submit" value="上传照片"/></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
</div>
<include file="../Public/right" /> <include file="../Public/footer" /> 